package com.calvin.study.observer.observer.impl;

import org.springframework.stereotype.Component;

import com.calvin.study.observer.observer.IObserver;
import com.google.common.eventbus.Subscribe;
@Component
public class ConcreteObserverTwo implements IObserver {

	@Override
	@Subscribe
	public void update(String message) {
		System.out.println(message+"石头收到消息，实施抓捕");
	}

}
